package example.guice;

import com.google.inject.AbstractModule;
import com.google.inject.Scopes;

import example.dao.openjpa.FactoryJPADao;
import example.dao.IFactoryDAO;

public class OpenJPAModule extends AbstractModule {

	@Override
	protected void configure() {
		bind(IFactoryDAO.class).to(FactoryJPADao.class).in(Scopes.SINGLETON);
	}

}
